package cpm.rule;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 自定义负载均衡规则
 * @author dell
 */
@Configuration
public class MyRule {
    @Bean
    public IRule rule(){
        return new NewRule();
    }
}
